<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%shop_member_profile}}".
 *
 * @property int $id
 * @property string $true_name
 * @property int $age
 * @property int $sex 0=未设置，1=女，2=男
 * @property int $birthday
 * @property int $updated
 * @property int $created
 * @property int $shop_member_id
 */
class ShopMemberProfile extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%shop_member_profile}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'true_name' => 'True Name',
            'age' => 'Age',
            'sex' => 'Sex',
            'birthday' => 'Birthday',
            'updated' => 'Updated',
            'created' => 'Created',
            'shop_member_id' => 'Shop Member ID',
        ];
    }
}
